<?php	
	$ubi['DB']['HOST'] = 'localhost';
	$ubi['DB']['USER'] = 'root';
	$ubi['DB']['PASSWORD'] = 'lighthouse';
	$ubi['DB']['NAME'] = 'tumlum_2';

	$path = dirname(__FILE__);
	$path = substr($path, 0, -7);	
		
	$ubi['SERVER']['SERVER_ROOT'] = $path;
	$ubi['SERVER']['SITE_ROOT'] = 'http://localhost:8080/tumlum/';
	$ubi['SERVER']['ADMIN_EMAIL'] = 'info@tumlum.cz.cc';
	$ubi['SERVER']['ADMIN_USERNAME_EMAIL'] = 'a5498hos';
	$ubi['SERVER']['ADMIN_EMAIL_PASS'] = 'o3yYe9LEby'; 
	$ubi['SERVER']['RESOURCE_PATH'] = 'resources';
	$ubi['SERVER']['THUMBNAIL_PATH'] = 'thumbnails';	
	$ubi['SERVER']['NOT_LOGGED_IN'] = -100;
	$ubi['SERVER']['SITE_NAME'] = 'TÙM LUM';
	$ubi['SERVER']['HOST_MAIL_PORT'] = 2525;	
	$ubi['SERVER']['HOST_MAIL'] = 'mail.tumlum.cz.cc';
	$ubi['SERVER']['ACCOUNT_NOT_ACTIVATE'] = -1;
	$ubi['SERVER']['DATE_FORMAT'] = 'd/m/Y';
	
	$ubi['SITE']['PUBLIC_KEY'] = "6Ldt0MMSAAAAADHh6sPB4EW0FwCApEdfvN95egsn";
	$ubi['SITE']['PRIVATE_KEY'] = "6Ldt0MMSAAAAAGiDHoTvYixNi7uRECr2Y810A6_k";
	$ubi['SITE']['MAP_KEY'] = "ABQIAAAA3bk9LI5G_u23z_KRUEzg6xT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTSqrSOBIBjhqtHln7mP2PaFKi_qA";
	$ubi['SITE']['SHORT_DESCRIPTION'] = 300;
	$ubi['SITE']['NUMBER_BEST_USER'] = 9;
	$ubi['SITE']['NUMBER_NEWEST_POST'] = 6;
	$ubi['SITE']['COOKIE_USERNAME'] = 'username_TumLum';
	$ubi['SITE']['COOKIE_PASSWORD'] = 'password_TumLum';
	$ubi['SITE']['NUMBER_N_RANDOM'] = 5;
	$ubi['SITE']['USER_NUMBER_POST'] = 3;
	$ubi['SITE']['NUMBER_MESSAGE'] = 5;
	$ubi['SITE']['NUMBER_OWNER_UPDATE'] = 10;
	$ubi['SITE']['NUMBER_FRIENDS_UPDATE'] = 20;
	$ubi['SITE']['SHORT_BLAST'] = 100;
	$ubi['SITE']['N_FRIEND_PER_ROW'] = 3;
	$ubi['SITE']['N_POST_PER_ROW'] = 3;
	$ubi['SITE']['N_MEMBER_PER_ROW'] = 3;
	$ubi['SITE']['N_USER_PER_PAGE'] = 20;
	$ubi['SITE']['N_POSTS_PER_PAGE'] = 20;
	$ubi['SITE']['IP_COOKIENAME'] = 'TumLum_IP_Client';
	$ubi['SITE']['IP_LATITUDE_COOKIENAME'] = 'TumLum_IP_Latitude';
	$ubi['SITE']['IP_LONGITUDE_COOKIENAME'] = 'TumLum_IP_Longitude';
	$ubi['SITE']['IP_SITE'] = 'whatismyipaddress.com/ip/';
	$ubi['SITE']['IP_REGION_NAME'] = 'TumLum_IP_Region';
	$ubi['SITE']['NUMBER_PROVIDER_PARAM_ID'] = 1;
	$ubi['SITE']['NUMBER_ITEM_PARAM_ID'] = 2;
	$ubi['SITE']['USERNAMES_NOT_ALLOWED'] = Array('admin', 'superaccount', 'superadmin', 'administrator', 'superuser');
	$ubi['SITE']['WIDTH_THUMBNAIL'] = 160;
	$ubi['SITE']['HEIGHT_THUMBNAIL'] = 160;
	$ubi['SITE']['WIDTH_RESOURCE'] = 420;
	$ubi['SITE']['HEIGHT_RESOURCE'] = 420;
	$ubi['SITE']['VIETNAM_LATITUDE'] = 14.058324;
	$ubi['SITE']['VIETNAM_LONGITUDE'] = 108.277199;
	$ubi['SITE']['ZOOM'][-1] = 5;
	$ubi['SITE']['ZOOM'][0] = 7; //city
	$ubi['SITE']['ZOOM'][1] = 14; //district
	$ubi['SITE']['ZOOM'][2] = 16; //ward
	$ubi['SITE']['PASSWORD_MIN_LENGTH'] = 8; 
	
	$ubi['LOCATION']['USER'] = 0;
	$ubi['LOCATION']['PROVIDER'] = 1;

	$ubi['PROVIDER']['VALUE'] = 50;
	$ubi['PROVIDER']['UPDATE_ADD'] = 51;
	$ubi['PROVIDER']['FAVOURITE'] = 52;
	$ubi['PROVIDER']['PLUS'] = 53;
	$ubi['PROVIDER']['MINUS'] = 54;
	$ubi['PROVIDER']['DEFAULT_RESOURCE'] = 'default_provider.gif';
	
	$ubi['ITEM']['VALUE'] = 100;
	$ubi['ITEM']['UPDATE_ADD'] = 101;
	$ubi['ITEM']['FAVOURITE'] = 102;
	$ubi['ITEM']['PLUS'] = 103;
	$ubi['ITEM']['MINUS'] = 104;
	$ubi['ITEM']['DEFAULT_RESOURCE'] = 'default_food.gif';
	$ubi['ITEM']['UNITS'] = array('Tô', 'Viên', 'Ký', 'Phần', 'Ly');

	$ubi['UPDATE']['FAVOURITE_ITEM'] = 150;
	$ubi['UPDATE']['FAVOURITE_PROVIDER'] = 151;
	$ubi['UPDATE']['PLUS_ITEM'] = 152;
	$ubi['UPDATE']['PLUS_PROVIDER'] = 153;
	$ubi['UPDATE']['MINUS_ITEM'] = 154;
	$ubi['UPDATE']['MINUS_PROVIDER'] = 155;
	$ubi['UPDATE']['REMOVE_FAVOURITE_ITEM'] = 156;
	$ubi['UPDATE']['REMOVE_FAVOURITE_PROVIDER'] = 157;
	$ubi['UPDATE']['POST_PROVIDER'] = 158;
	$ubi['UPDATE']['POST_ITEM'] = 159;
	$ubi['UPDATE']['BLAST'] = 160;
	$ubi['UPDATE']['SEND_REQUEST_MAKE_FRIEND'] = 161;
	$ubi['UPDATE']['ACCEPT_FRIEND'] = 162;
	$ubi['UPDATE']['SEND_QUICK_MESSAGE'] = 163;
	$ubi['UPDATE']['MAKE_COUPLE'] = 164;
	$ubi['UPDATE']['POST_COMMENT'] = 165;
	$ubi['UPDATE']['PLUS_COMMENT'] = 166;
	$ubi['UPDATE']['MINUS_COMMENT'] = 167;
		
	$ubi['EMAIL']['REGISTER'] = 0;
	$ubi['EMAIL']['COMMENT_ON_MY_POST'] = 1;
	$ubi['EMAIL']['COMMENT_ON_A_POST_I_RELATE_TO'] = 2;
	$ubi['EMAIL']['WRITE_ON_MY_WALL'] = 3;
	$ubi['EMAIL']['PLUS_MY_COMMENT'] = 4;
	$ubi['EMAIL']['MINUS_MY_COMMENT'] = 5;
	$ubi['EMAIL']['PLUS_MY_POST'] = 6;
	$ubi['EMAIL']['MINUS_MY_POST'] = 7;
	$ubi['EMAIL']['FAVOURITE_MY_POST'] = 8;
	$ubi['EMAIL']['UNFAVOURITE_MY_POST'] = 9;
	
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['FAVOURITE_ITEM']] = 'yêu thích món ăn';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['FAVOURITE_PROVIDER']] = 'yêu thích quán';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['PLUS_ITEM']] = 'cộng điểm món ăn';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['PLUS_PROVIDER']] = 'cộng điểm quán';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['MINUS_ITEM']] = 'trừ điểm món ăn';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['MINUS_PROVIDER']] = 'trử điểm quán';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['REMOVE_FAVOURITE_ITEM']] = 'gỡ bỏ yêu thích món ăn';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['REMOVE_FAVOURITE_PROVIDER']] = 'gỡ bỏ yêu thích quán';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['POST_PROVIDER']] = 'chia sẻ quán';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['POST_ITEM']] = 'chia sẻ món ăn';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['BLAST']] = 'cập nhật blast';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['SEND_REQUEST_MAKE_FRIEND']] = 'gửi lời mời kết bạn';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['ACCEPT_FRIEND']] = 'Đồng ý kết bạn';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['SEND_QUICK_MESSAGE']] = 'Gửi tin nhắn nhanh';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['MAKE_COUPLE']] = 'cập nhật trạng thái cặp kè';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['PLUS_COMMENT']] = 'cộng điểm comment';
	$ubi['UPDATE_MESS'][$ubi['UPDATE']['MINUS_COMMENT']] = 'trừ điểm comment';
	
	$ubi['RATING']['PLUS'] = 1;
	$ubi['RATING']['MINUS'] = -1;
	
	$ubi['COMMENT']['COMMENTS_PER_PAGE'] = 5;
	$ubi['COMMENT']['VALUE'] = 150;
	
	//$ubi['USER']['DEFAULT_AVATAR_RESOURCE'] = 'nopic.gif'
	$ubi['USER']['DEFAULT_AVATAR_RESOURCE'] = 'default_avatar.jpg';
	
	$ubi['QUICK_MESSAGE']['DEFAULT'] = 10;
	$ubi['QUICK_MESSAGE']['MESSAGE_PER_PAGE'] = 5;	
	
	$ubi['ROLE']['DEFAULT'] = 1;

	$ubi['MESSAGE']['MAKE_FRIEND'] = 0;
	$ubi['MESSAGE']['STATUS_CASUAL'] = 1;
	$ubi['MESSAGE']['MAKE_COUPLE'] = 2;
	$ubi['MESSAGE']['MESSAGE_PER_PAGE'] = 5;
